/**
 * 
 */
package Controller;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 * @author enzo
 *
 */
public class AlterListener implements ActionListener {

	private AgendaManager agenda;
	
	/**
	 * @param a
	 */
	public AlterListener(AgendaManager a)
	{
		agenda=a;
	}
	
	/* (non-Javadoc)
	 * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
	 */
	/* (non-Javadoc)
	 * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
	 */
	@Override
	public void actionPerformed(ActionEvent e) {
		// TODO Auto-generated method stub
		agenda.alterContact();

	}

}
